package com.snake.springboot.authority.api.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;

/**
 * 类 {@code ChangeSysAdminPwdReq}  <br> .
 * <p>修改密码入参
 * <p>创建时间：2025/01/03
 *
 * @author Huang.yj
 */
@ApiModel("修改密码入参")
public class AuthSysAdminChangeReq {

    @ApiModelProperty("员工主键ID")
    private String sysAdminId;

    @ApiModelProperty("旧密码")
    @NotEmpty(message = "旧密码不可为空")
    private String oldPassword;

    @ApiModelProperty(value="新密码")
    @NotEmpty(message = "新密码不可为空")
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String password;

    public String getSysAdminId() {
        return sysAdminId;
    }

    public void setSysAdminId(String sysAdminId) {
        this.sysAdminId = sysAdminId;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
